import 'package:base_flutter/base_flutter.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:ls_work/viewmodel/service_order/refuse_order_view_model.dart';

class RefuseOrderWidget extends BaseStatefulMvvmWidget{
  @override
  State<StatefulWidget> createState() => _RefuseOrderState();

}

class _RefuseOrderState extends BaseMvvmState<RefuseOrderViewModel,RefuseOrderWidget>{
  @override
  Widget buildLoadingContentView() {
    return viewModel.content();
  }

  @override
  Widget buildRootView(BuildContext context, Widget loadingContentWidget) {
    return loadingContentWidget;
  }

  @override
  RefuseOrderViewModel createViewModel() {
    return RefuseOrderViewModel(context);
  }

  @override
  void onRetryClick() {
    // TODO: implement onRetryClick
  }

}